<template>
    <ManagePanel :menus="menus" :current-item="currentPage">
      <router-view />
    </ManagePanel>
</template>

<script setup>
import ManagePanel from "../../components/admin/ManagePanel.vue";
import {useRoute} from "vue-router";

const route = useRoute()

const menus = [
  {key: 'DashboardHome', icon: 'PieChartOutlined', text: '基础数据'}
]

const currentPage = [route.name]
</script>

<style scoped>
</style>